How to use companion objects for factory methods in Scala

welcome to shbcf.ru